* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

ul li::before {
  content: "";
  list-style: none;
}

.divFaultDesc, .divKR ,.divAP{
  background: none;
  border: 1px solid #fff;
  border-radius: 3px;
  color: #fff;
  height: 29px;
  margin-left: 10px;
  padding: 0 6px;
}
.divAP{
  width: 100px;
}
.divAP>option{
  color: black;
}

input::-webkit-input-placeholder {
  color: #fff;
}

input::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: #fff;
}

input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: #fff;
}

input:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #fff;
}

.alarm-container {
  width: 100%;
  height: 100%;
  margin: 0px;
  min-width: 100%;
  min-height: 100%;
  display: -moz-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0 20px 20px 0;
}

.alarm-aside {
  width: 250px;
  height: 100%;
  min-width: 250px;
  margin-right: 30px;
}

.alarm-main {
  -moz-flex: 1;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  background: rgba(9, 29, 69, 0.5);
  display: -moz-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -moz-flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 600px;
  /*position: relative;*/
}

.alarm-main-content {
  -moz-flex: 1;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: calc(100% - 55px);
}

.alarm-aside-selector {
  width: 100%;
  height: 100%;
}

.alarm-main-query {
  height: 55px;
  color: #fff;
  padding: 15px;
}

.alarm-main-query section {
  margin-right: 20px;
}

.picker-trend {
  width: 100px;
  margin: 0 3px;
}

.button-trend {
  color: #000;
  background: #91cdff;
  width: 58px;
  height: 29px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.alarm-main-fault > section {
  width: 100%;
  -moz-flex: 1;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.divTime {
  margin-left: 10px;
}

select {
  width: 40px;
  height: 26px;
}

input[type="number"] {
  display: inline-block;
  width: 40px;
  height: 26px;
  text-align: center;
}

/* 日期input框样式 */

:host .ui-inputtext {
  background: transparent;
  color: #fff;
}

:host .ui-dialog {
  left: 662px;

}

:host .ui-dialog.ui-widget .ui-dialog-titlebar {
  background: #9f9b63;
}

:host .ui-dialog.ui-widget .ui-dialog-content {
  background-color: #225080;
  color: #fff;
}

:host .ui-dialog-footer {
  padding: 0.5em 1em;
  text-align: center;
  background-color: #225080;
}

:host .ui-dialog .ui-widget-content {
  border: 1px solid transparent;
  background: #225080;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;

}

.alarm-main-header {
  height: 40px;
  border-bottom: 2px solid #86bdec;
  padding: 0 20px;
}

.alarm-main-header span {
  display: inline-block;
  width: 100px;
  height: 100%;
  line-height: 44px;
  color: #93cdff;
  cursor: pointer;
  border: 1px solid #86bdec;
  border-bottom: 2px solid transparent;
  background: #092845;
  text-align: center;
  font-size: 14px;
  position: relative;
  opacity: 0.4;
  bottom: 0;
}

.alarm-main-header span.on {
  opacity: 1;
  bottom: -2px;
}

.check-box {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid #2ec69a;
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  top: 5px;
}

.check-box input[type=checkbox] {
  width: 0;
  height: 0;
  z-index: 2;
  opacity: 0;
}

.check-box input[type=checkbox]:checked + span.check {
  display: inline-block;
}

.check-box .check {
  /* display: none;
  width: 4px;
  height: 4px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -2px;
  margin-top: -2px;
  background: #2ec69a; */
  display: none;
  width: 9px;
  height: 5px;
  position: absolute;
  top: 1px;
  left: 1px;
  border: 2px solid #fcfff4;
  border-top: none;
  border-right: none;
  background: transparent;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.alarm-level {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.alarm-level .form-label {
  width: 100px;
}

.alarm-category .form-label-turb {
  margin-right: 10px;
}

.alarm-category {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.alarm-category .turb-span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.alarm-hide {
  display: none;
}

/* 滚动条样式 */
.scrollbar {
  overflow-y: auto;
  overflow-x: hidden;
}

.scrollbar::-webkit-scrollbar {
  width: 0px;
}

.scrollbar:hover::-webkit-scrollbar {
  width: 4px;
}

.scrollbar::-webkit-scrollbar-track {
  background-color: #157b8a;
  border-radius: 0px;
}

.scrollbar::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: greenyellow;;
}

.scrollbar::-webkit-scrollbar-track-piece {
  background: transparent;
}

/* thead */
:host .ui-datatable th.ui-state-default {
  color: white;
  background-color: #9f9b63;
}

:host .ui-datatable tbody > tr.ui-widget-content {
  border: 1px solid #555;
}

:host .ui-column-title {
  width: 10px;
  height: 10px;
}

/* th */
:host .ui-widget-content {
  border: 1px solid #555;
  background: #064e8b;
  color: #fff;
  text-align: center;
}

:host .ui-datatable tbody > tr.ui-widget-content.ui-datatable-odd {
  border: 1px solid #555;
  background: #064e8b;
  color: #fff;
}

/* tfoot */
:host .ui-paginator-bottom {
  border: none;
  background: rgba(18, 48, 100, 0.6);
}

:host .ui-state-default {
  border: #555;
  background: #0360a6;
  color: #fff;
}

:host .ui-paginator a:not(.ui-state-disabled):not(.ui-state-active):hover {
  background: #fba059;
  color: #fff;
}

/*===========================================*/
.alarm-hide {
  display: none;
}

:host .ui-widget-content .ui-datatable-emptymessage {
  opacity: 0 !important;

}

:host .ui-paginator .ui-paginator-page.ui-state-active {
  background: #fba059;
}

:host .ui-datatable .ui-datatable-thead > tr > th, :host .ui-datatable .ui-datatable-tfoot > tr > td, :host .ui-datatable .ui-datatable-data > tr > td {
  padding: 0;
  height: 40px;
}
